﻿using System;
using SqlSugar;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    [SugarTable("DDFSXGCApply")]
    public class DDFSXGCApply
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public Guid ID { get; set; }

        /// <summary>
        /// 实例Id
        /// </summary>
        public string InstanceId { get; set; }

        /// <summary>
        /// 流程主题
        /// </summary>
        public string ProcessTopic { get; set; }

        /// <summary>
        /// 发起时间
        /// </summary>
        public DateTime? ProcessStartTime { get; set; }

        /// <summary>
        /// 发起人
        /// </summary>
        public Guid? ProcessStartUserId { get; set; }

        /// <summary>
        /// 发起人名称
        /// </summary>
        public string ProcessStartUserName { get; set; }

        /// <summary>
        /// 流程是否结束
        /// </summary>
        public bool? IsEnd { get; set; }

        /// <summary>
        /// 负责销售员姓名
        /// </summary>
        public string SalesalespersonUserName { get; set; }

        /// <summary>
        /// 客户编码
        /// </summary>
        public string CustomerCode { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomerName { get; set; }


        /// <summary>
        /// 商机号
        /// </summary>
        public string BusinessOpportunityNo { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        public string ProjectName { get; set; }


        /// <summary>
        /// 首选工厂
        /// </summary>
        public string FirstFactoryCode { get; set; }


        /// <summary>
        /// 首选工厂名称
        /// </summary>
        public string FirstFactoryName { get; set; }

        /// <summary>
        /// 首选工厂联系人
        /// </summary>
        public string FirstFactoryContact { get; set; }


        /// <summary>
        /// 首选工厂联系电话
        /// </summary>
        public string FirstFactoryTel { get; set; }


        /// <summary>
        /// 下单工厂编码
        /// </summary>
        public string OrderFactoryCode { get; set; }


        /// <summary>
        /// 下单工厂名称
        /// </summary>
        public string OrderFactoryName { get; set; }


        /// <summary>
        /// 原因分类
        /// </summary>
        public string ReasonCategory { get; set; }


        /// <summary>
        /// 所属大区
        /// </summary>
        public string BelongArea { get; set; }


        /// <summary>
        /// 申请理由
        /// </summary>
        public string ApplyReason { get; set; }

        /// <summary>
        /// 抄送人
        /// </summary>
        public string CcUser { get; set; }
    }
}